// import './assets/main.css'
import "amfe-flexible/index.js";
import { createApp } from 'vue'
import App from './App.vue'
import router from './router/routes'
// 样式
import './assets/reset.css'
import "./assets/icon/icon.css"
// 首页底部
import HomeBottom from "@/components/HomeBottom/index.vue";
// 首页头部
import HomeTop from "@/components/HomeTop/index.vue"
// 搜索
import Search from "@/components/Search/index.vue"
// 非首页头部
import Top from "@/components/Top/index.vue"

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'




// createApp(App).mount('#app')
const app = createApp(App)

app.use(ElementPlus)

app.component('HomeBottom',HomeBottom)
app.component('HomeTop',HomeTop)
app.component('Search',Search)
app.component('Top',Top)
app.use(router)
app.mount('#app')
